package com.itheima.service;

import com.itheima.pojo.OrderSetting;
import com.itheima.vo.OrderSettingVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;

public interface OrderSettingService {
    /**
     * 根据日期修改预约人数
     * @param orderSetting
     */
    void editNumberByOrderDate(OrderSetting orderSetting);

    /**
     * 根据年月查询对应的预约设置信息
     *
     * @param month
     * @return
     */
    ArrayList<OrderSettingVO> getOrderSettingByMonth(String month);

    /**
     * 下载预约设置模板
     *
     * @param response
     * @param filename
     */
    void downloadTemplate(HttpServletResponse response, String filename);

    /**
     * 上传预约设置
     * @param excelFile
     */
    void upload(MultipartFile excelFile);
}
